-
Home
-
StoreKeeper for WooCommerce
-
11.0.0
-
Code
-
Classes
- AbstractModel
| Total Complexity |
79 |
| Dependencies |
11 |
| Dependents |
2 |
| Total lines |
431 |
| Lines of code |
297 |
| Logical lines of code |
141 |
| Comment lines |
5 |
| Methods |
34 |
| Properties |
0 |
Methods 34
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| validateData() |
A |
50 |
12 |
28 |
| findBy() |
S |
54 |
6 |
20 |
| upsert() |
S |
55 |
5 |
21 |
| create() |
S |
56 |
5 |
17 |
| ensureAffectedRows() |
S |
64 |
5 |
9 |
| ensureTable() |
S |
63 |
4 |
13 |
| prepareData() |
S |
62 |
4 |
11 |
| read() |
S |
54 |
3 |
22 |
| update() |
S |
57 |
3 |
16 |
| getValidForeignFieldKey() |
S |
62 |
3 |
11 |
| getWpPrefix() |
S |
74 |
2 |
4 |
| querySql() |
S |
68 |
2 |
7 |
| checkTableEngineInnoDB() |
S |
73 |
2 |
5 |
| count() |
S |
64 |
2 |
10 |
| getSelectHelper() |
S |
66 |
2 |
9 |
| getTableForeignKey() |
S |
62 |
1 |
13 |
| getTableVersion() |
S |
79 |
1 |
3 |
| setTableVersion() |
S |
79 |
1 |
3 |
| getTableName() |
S |
79 |
1 |
3 |
| isTableOutdated() |
S |
79 |
1 |
3 |
| updateDateField() |
S |
75 |
1 |
4 |
| hasTable() |
S |
72 |
1 |
5 |
| getTableEngine() |
S |
67 |
1 |
8 |
| setTableEngineToInnoDB() |
S |
67 |
1 |
8 |
| isTableEngineInnoDB() |
S |
79 |
1 |
3 |
| foreignKeyExists() |
S |
74 |
1 |
4 |
| get() |
S |
80 |
1 |
3 |
| delete() |
S |
65 |
1 |
10 |
| getInsertHelper() |
S |
75 |
1 |
5 |
| getUpdateHelper() |
S |
75 |
1 |
5 |
| getDeleteHelper() |
S |
75 |
1 |
5 |
| prepareQuery() |
S |
77 |
1 |
4 |
| alterTable() |
S |
89 |
1 |
2 |
| purge() |
S |
81 |
1 |
3 |